#!/usr/bin/env ruby

File.open("itamae_ros_node.yaml", "w") do |file|
    file.puts("ros:")
    file.puts("     distribution: jade")
    file.puts("     install-target: desktop-full")
    file.puts("     ws-name: catkin_ws")
end

File.open("itamae_ros_recipe.rb", "w") do |file|
    file.puts("include_recipe \"ros::install\"")
    file.puts("include_recipe \"ros::create_ws\"")
end

File.open("Gemfile", "w") do |file|
    file.puts("source 'https://rubygems.org'")
    file.puts("")
    file.puts("gem 'itamae'")
    file.puts("gem 'itamae-plugin-recipe-ros'")
end
